// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import'./lib/mui/css/mui.min.css'
import './lib/mui/css/icons-extra.css'
import axios from 'axios'
Vue.prototype.$http = axios

import Mint from 'mint-ui'
Vue.use(Mint);
import 'mint-ui/lib/style.css'


// 导入格式化时间的插件
import moment from 'moment'
// 定义全局的过滤器
Vue.filter('dateFormat', function (dataStr, pattern = "YYYY-MM-DD HH:mm:ss") {
  return moment(dataStr).format(pattern)
})



Vue.use(Mint)
Vue.config.productionTip = false
import './lib/mui/css/mui.min.css'

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
